package cn.qzuie.smart.module.dorm.controller.admin.assettype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 资产新增/修改 Request VO")
@Data
public class AssetSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4168")
    private Long id;

    @Schema(description = "资产名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "资产名称不能为空")
    private String name;

    @Schema(description = "资产编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4146")
    @NotNull(message = "资产编号不能为空")
    private Long assetTypeId;

    @Schema(description = "属性")
    private String properties;

    @Schema(description = "价格", example = "869")
    private Double price;

    @Schema(description = "mac地址")
    private String mac;

    @Schema(description = "图片地址", example = "https://www.iocoder.cn")
    private String imgUrl;

}